package org.springboot.szsrcb.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Req_bill {
    private Integer id;
    private String req_bill_no;
    private String req_status;
    private String req_bill_original_no;
    private String req_title;
    private String req_type;
    private String req_offer_dept;
    private String req_offer;
    private Date required_completion_date;
    private String deffect_no;
    private Date accept_date;
    private Integer attach_group_id;
    private Date req_bill_create_date;
    private Date req_bill_modify_date;
    private String att_id;
    private String is_include_test_project;
    private String select_reason;
    private String other_reason;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getReq_bill_no() {
		return req_bill_no;
	}
	public void setReq_bill_no(String req_bill_no) {
		this.req_bill_no = req_bill_no;
	}
	public String getReq_status() {
		return req_status;
	}
	public void setReq_status(String req_status) {
		this.req_status = req_status;
	}
	public String getReq_bill_original_no() {
		return req_bill_original_no;
	}
	public void setReq_bill_original_no(String req_bill_original_no) {
		this.req_bill_original_no = req_bill_original_no;
	}
	public String getReq_title() {
		return req_title;
	}
	public void setReq_title(String req_title) {
		this.req_title = req_title;
	}
	public String getReq_type() {
		return req_type;
	}
	public void setReq_type(String req_type) {
		this.req_type = req_type;
	}
	public String getReq_offer_dept() {
		return req_offer_dept;
	}
	public void setReq_offer_dept(String req_offer_dept) {
		this.req_offer_dept = req_offer_dept;
	}
	public String getReq_offer() {
		return req_offer;
	}
	public void setReq_offer(String req_offer) {
		this.req_offer = req_offer;
	}
	public Date getRequired_completion_date() {
		return required_completion_date;
	}
	public void setRequired_completion_date(String required_completion_date) {		
		try{
			SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
			this.required_completion_date = sdf.parse(required_completion_date);
		}catch(java.text.ParseException e){
			System.out.println(e.getMessage());
		}
	}
	public String getDeffect_no() {
		return deffect_no;
	}
	public void setDeffect_no(String deffect_no) {
		this.deffect_no = deffect_no;
	}
	public Date getAccept_date() {
		return accept_date;
	}
	public void setAccept_date(String accept_date) {
		try{
			SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
			this.accept_date = sdf.parse(accept_date);
		}catch(java.text.ParseException e){
			System.out.println(e.getMessage());
		}
		
	}
	public Integer getAttach_group_id() {
		return attach_group_id;
	}
	public void setAttach_group_id(Integer attach_group_id) {
		this.attach_group_id = attach_group_id;
	}
	public Date getReq_bill_create_date() {
		return req_bill_create_date;
	}
	public void setReq_bill_create_date(Date req_bill_create_date) {
		this.req_bill_create_date=req_bill_create_date;
		/*try{
			SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
			this.req_bill_create_date = sdf.parse(req_bill_create_date);
		}catch(java.text.ParseException e){
			System.out.println(e.getMessage());
		}*/
	}
	public Date getReq_bill_modify_date() {
		return req_bill_modify_date;
	}
	public void setReq_bill_modify_date(String req_bill_modify_date) {		
		try{
			SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
			this.req_bill_modify_date = sdf.parse(req_bill_modify_date);
		}catch(java.text.ParseException e){
			System.out.println(e.getMessage());
		}
	}
	public String getAtt_id() {
		return att_id;
	}
	public void setAtt_id(String att_id) {
		this.att_id = att_id;
	}
	public String getIs_include_test_project() {
		return is_include_test_project;
	}
	public void setIs_include_test_project(String is_include_test_project) {
		this.is_include_test_project = is_include_test_project;
	}
	public String getSelect_reason() {
		return select_reason;
	}
	public void setSelect_reason(String select_reason) {
		this.select_reason = select_reason;
	}
	public String getOther_reason() {
		return other_reason;
	}
	public void setOther_reason(String other_reason) {
		this.other_reason = other_reason;
	}
    
}
